package com.zenagro.actions.crud;

import java.io.*;
import java.util.*;

import javax.ejb.*;
import javax.inject.*;

import org.apache.commons.fileupload.*;
import org.openxava.actions.*;
import org.openxava.model.*;
import org.openxava.util.*;
import org.openxava.view.*;

import com.zenagro.domain.zenagro.base.*;
import com.zenagro.utils.*;

public class SaveFileAction extends SaveAction{
	
	@Inject
	HashMap mapaComun;
	
	@Override
	public void execute() throws Exception {
		
		FileEntityUtils feu=new FileEntityUtils(getView(),mapaComun);
		feu.updateFile();
				
		super.execute();
		
		feu.saveFile();
		
		
	}
	
	
	

}
